<!DOCTYPE html>
<html lang="en">
<head th:fragment="head(title)">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title th:replace="${title}">博客详情</title>
    <!-- 动画 -->
    <link rel="stylesheet" href="../static/css/animate.css" th:href="@{/css/animate.css}"/>
    <!-- 生成目录 -->
    <link rel="stylesheet" href="../static/lib/toc/tocbot.css" th:href="@{/lib/toc/tocbot.css}"/>
    <!-- 排版 -->
    <link rel="stylesheet" href="../static/css/typo.css" th:href="@{/css/typo.css}"/>
    <link rel="stylesheet" href="../static/css/me.css" th:href="@{/css/me.css}"/>

    <link rel="stylesheet" href="../static/lib/prism/prism.css" th:href="@{/lib/prism/prism.css}">
    <!-- 引入semantic css-->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.css">

</head>
<body>

    <!--导航-->
    <nav th:fragment="menu(n)" class="ui inverted attached segment m-padded-tb-mini m-shadow-small">
        <div class="ui container">
            <div class="ui inverted secondary stackable menu">
                <h2 class="ui teal header item">小克的猫爬架</h2>
                <a href="#" th:href="@{/}" class="m-item item m-mobile-hide" th:classappend="${n==1} ? 'active'"><i class="home icon"></i>首页</a>
                <a href="#" th:href="@{/type/-1}" class="m-item item m-mobile-hide" th:classappend="${n==2} ? 'active'"><i class="idea icon"></i>分类</a>
                <a href="#" th:href="@{/tag/-1}" class="m-item item m-mobile-hide" th:classappend="${n==3} ? 'active'"><i class="tags icon"></i>标签</a>
                <a href="#" th:href="@{/archive}" class="m-item item m-mobile-hide" th:classappend="${n==4} ? 'active'"><i class="clone icon"></i>归档</a>
                <a href="#" th:href="@{/about}" class="m-item item m-mobile-hide" th:classappend="${n==5} ? 'active'"><i class="info icon"></i>关于我</a>

                <div class="m-item right item m-mobile-hide">
                    <div class="m-item right item m-mobile-hide">
                        <form name="search" action="#" method="post" th:action="@{/search}" target="_blank">
                            <div class="ui input icon">
                                <input type="text" name="query" placeholder="搜索..." th:value="${query}"/>
                                <i onclick="document.forms['search'].submit()" class="search link icon"></i>
                            </div>
                        </form>
                    </div>

                </div>
            </div>
        </div>
        <a href="#" class="ui menu toggle black icon button m-right-top m-mobile-show">
            <i class="sidebar icon"></i>
        </a>
    </nav>


    <!--底部 footer-->
    <footer th:fragment="footer" class="ui inverted vertical segment m-padding-tb-massive">
        <div class="ui center aligned container">
            <div class="ui inverted divided stackable grid">
                <div class="three wide column">
                    <div class="ui inverted link list">
                        <div class="item">
                            <img src="../static/img/qq.png" th:src="@{/img/qq.png}" class="ui rounded image" alt="" style="width: 100px;"/>
                        </div>
                    </div>
                </div>
                <div class="three wide column">
                    <h4 class="ui inverted header m-text-thin m-text-spaced">广告位招租</h4>
                    <div class="ui inverted link list">
                        <a class="item">租位1</a>
                        <a class="item">租位2</a>
                        <a class="item">租位3</a>
                    </div>
                </div>
                <div class="three wide column">
                    <h4 class="ui inverted header m-text-thin m-text-spaced">联系方式</h4>
                    <div class="ui inverted link list">
                        <a class="item">email whcderek@foxmail.com</a>
                        <a class="item">QQ 2250671362</a>
                        <a class="item">Wechat w2250671362</a>
<!--                        <a href="#" class="item">用户故事</a>-->
                    </div>
                </div>
                <div class="seven wide column">
                    <h4 class="ui inverted header m-text-thin m-text-spaced">derek</h4>
                    <p class="m-text-thin m-text-spaced m-opacity-mini">
                        <a href="https://gitee.com/derekerrr" target="_blank">Gitee</a>
                    </p>
                    <p class="m-text-thin m-text-spaced m-opacity-mini">
                        <a href="https://github.com/Derekerrr" target="_blank">Github</a>
                    </p>
                </div>
            </div>
            <div class="ui inverted section divider"></div>
            <p class="m-text-thin m-text-spaced m-opacity-mini">Derek Wu CopyRight</p>
        </div>
    </footer>

    <th:block th:fragment="javaScript">
        <!-- 引入semantic js-->
        <script src="https://cdn.jsdelivr.net/npm/jquery@3.2/dist/jquery.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/semantic.min.js"></script>
        <!-- 生成目录 -->
        <script src="../static/lib/toc/tocbot.js" th:src="@{/lib/toc/tocbot.js}"></script>
        <!-- 生成二维码 -->
        <script src="../static/lib/qrcode/qrcode.js" th:src="@{/lib/qrcode/qrcode.js}"></script>
        <!-- 滚动侦测 -->
        <script src="../static/lib/waypoint/jquery.waypoints.js" th:src="@{/lib/waypoint/jquery.waypoints.js}"></script>
        <!-- 平滑滚动 -->
        <script src="https://cdn.jsdelivr.net/npm/jquery.scrollto@2.1.3/jquery.scrollTo.min.js"></script>
    </th:block>
</body>
</html>